package cn.orangeframe.neon.application.mapper;

import cn.orangeframe.neon.application.exception.TerminateWorkflowException;
import cn.orangeframe.neon.domain.model.TaskModel;

import java.util.List;

/**
 * 任务生成器
 * The {@link TaskMapper} interface represents a mapper for tasks.
 */
public interface TaskMapper {

    String getTaskType();

    List<TaskModel> getMappedTasks(TaskMapperContext taskMapperContext) throws TerminateWorkflowException;
}
